sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
Test apparatus: http://jsfiddle.net/hRub4/
(Windows = Windows 8.1 desktop)
import binascii, sys, random, asn1 | |
from fractions import gcd | |
def extended_gcd(aa, bb): | |
lastremainder, remainder = abs(aa), abs(bb) | |
x, lastx, y, lasty = 0, 1, 1, 0 | |
while remainder: | |
lastremainder, (quotient, remainder) = remainder, divmod(lastremainder, remainder) | |
x, lastx = lastx - quotient*x, x | |
y, lasty = lasty - quotient*y, y |
// source is a byte array | |
using (var reader = new PdfReader(source)) | |
{ | |
using (var output = new StringWriter()) | |
{ | |
for (int i = 1; i <= reader.NumberOfPages; i++) | |
{ | |
output.WriteLine(PdfTextExtractor.GetTextFromPage(reader, i)); | |
} |
<?xml version="1.0" encoding="utf-16"?> | |
<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"> | |
<TypePattern DisplayName="Non-reorderable types"> | |
<TypePattern.Match> | |
<Or> | |
<And> | |
<Kind Is="Interface" /> | |
<Or> | |
<HasAttribute Name="System.Runtime.InteropServices.InterfaceTypeAttribute" /> | |
<HasAttribute Name="System.Runtime.InteropServices.ComImport" /> |
This gist is intended to help you deal with the following error messages:
Error: appkey is incorrect 'er_invalid_appkey
Error: unknown error 'Request is not encrypted'
This gist has four parts. The instructions you should follow depend on what you want to do:
| Part | Explains how to |
export type MutexGuard<T> = Readonly<{ | |
id: string, | |
get: () => T, | |
set: (value: T) => void, | |
unlock: () => void | |
}>; | |
export type Mutex<T> = Readonly<{ | |
lock(): Promise<MutexGuard<T>> | |
}>; |
http://104.28.1.30:8080/announce | |
http://104.28.16.69/announce | |
http://107.150.14.110:6969/announce | |
http://109.121.134.121:1337/announce | |
http://114.55.113.60:6969/announce |
#!/bin/bash | |
## check nvidia driver version | |
nvidia-smi | |
# 510 | |
## to uninstall cuda | |
# sudo apt-get --purge remove "*cublas*" "cuda*" "nsight*" | |
# sudo apt-get --purge remove "*nvidia*" | |
# or |
"""First check environment variables for a password, if not then use `getpass`. | |
You might set the environment variable ahead of time with (from a shell):: | |
read -s secret | |
export secret | |
""" | |
import os, getpass |